﻿var user_themelist = {
//    formDefine: {
//        labelWidth: 30,
//        fields: [
//                    { display: lang.Organization_structure, name: "ORGANIZATION_ID", type: "selecttree", labelWidth: 110, inputWidth: 170 },
//                    {display: lang.Account, name: "USER_ACCOUNT", type: "text", labelWidth: 40 },
//                    { display: lang.name, name: "USER_NAME", type: "text" },
//                    { display: lang.Query, name: "search", type: "button", click: function () { userlist.search(); } }
//                 
//                ],
//        fieldsInit: function () {
//            //loadOrgData();
//        }
//    },
    gridDefine: {
        columns: [

           { display: lang.user_name, name: 'USER_NAME', minWidth: 90 }, //{ display: '用户姓名', name: 'USER_NAME', minWidth: 90 },
            {display: lang.Account, name: 'USER_ACCOUNT', minWidth: 80 },

            { display: lang.operation, name: 'USER_ID', minWidth: 205, render: LinkOP, align: 'center' }
        ],
        url: App_Config.TadongUrl + "/AjaxMappingHandler.aspx",
        urlType: "QueryUserInfoPageList"
    },
    init: function () {
        jsPageRender(this, true);
    },
    search: function () {
        jsPageSearch(this);
    }

};
function LinkOP(value, row, index) {
    var _str = 'userid=' + row.USER_ID;
    return '<span style="padding-right:15px;"><a href="javascript:void(0)" onclick="openPage(\'themeTypeSelect\',\'' + _str + '\');">' + lang.edit + '</a></span>';
}







